package com.zdkj.subway.stm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zdkj.subway.stm.entity.SwStConductorSellDetail;
import org.apache.ibatis.annotations.Param;

import javax.websocket.server.PathParam;
import java.util.List;
import java.util.Map;

/**
 * 车站车票售卖详细信息
 *
 * @author songtuo
 * @date 2020-07-14 11:52:25
 */
public interface SwStConductorSellDetailMapper extends BaseMapper<SwStConductorSellDetail> {

    /**
     * 营销车票-售卖
     *
     * @param dateString
     * @return
     */
    List<SwStConductorSellDetail> querySell(@PathParam("dateString") String dateString);

    /**
     * 配备用金归还时的废票
     *
     * @param dateString
     * @return
     */
    List<SwStConductorSellDetail> queryInvalid(@PathParam("dateString") String dateString);

    /**
     * 乘客事务退换票情况-退换票
     *
     * @param dateString
     * @return
     */
    List<SwStConductorSellDetail> queryPassenger(@PathParam("dateString") String dateString);

    List<SwStConductorSellDetail> queryExport(@Param("ids") List<Integer> ids, @Param("param") Map<String,String> params);
}
